<br/>
<table width="412" border="0" align="center" cellpadding="4" cellspacing="4" style="border:outset;border-width:+7;border-color:#FFFFCC">
<?php
require("conn.php");
$sql="SELECT * FROM tintuc";
$bang=mysql_query($sql);
while($rows=mysql_fetch_array($bang))
  {
  ?>
				  <tr>
					<td width="402">
					<table width="402" border="0" cellpadding="0" cellspacing="0" style="border:inset;border-width:+4;border-style:solid;border-color:#3399FF">
					  <tr>
						<td colspan="2" background="hinh/2.jpg"><font size="+2" color="#FF99FF"><b><?php echo($rows["ten"]);?></b></font></td>
					  </tr>
					  <tr>
						<td width="111" height="97"><img name="" src="" width="111" height="95" alt="Click để xem chi tiết bản tin" style="border:outset;border-color:#6699FF;border-width:+2"></td>
						<td width="275" align="left" valign="top"><?php echo($rows["ten"]);?></td>
					  </tr>
					  
					</table>
					</td>
					<?php
					if($rows=mysql_fetch_array($bang))
					{
					?>
					<td width="402"><table width="402" border="0" cellpadding="0" cellspacing="0" style="border:inset;border-width:+4;border-style:solid;border-color:#3399FF">
					  <tr>
						<td colspan="2" background="hinh/2.jpg"><font size="+2" color="#FF99FF"><b><?php echo($rows["ten"]);?></b></font></td>
					  </tr>
					  <tr>
						<td width="111" height="97"><img name="" src="" width="111" height="95" alt="Click để xem chi tiết bản tin" style="border:outset;border-color:#6699FF;border-width:+2"></td>
						<td width="275" align="left" valign="top"><?php echo($rows["ten"]);?></td>
					  </tr>
					  
					</table></td>
					<?php
					}
					else
					{
					break;
					}
					if($rows=mysql_fetch_array($bang))
					{
					?>
					<td width="402"><table width="402" border="0" cellpadding="0" cellspacing="0" style="border:inset;border-width:+4;border-style:solid;border-color:#3399FF">
					  <tr>
						<td colspan="2" background="hinh/2.jpg"><font size="+2" color="#FF99FF"><b><?php echo($rows["ten"]);?></b></font></td>
					  </tr>
					  <tr>
						<td width="111" height="97"><img name="" src="" width="111" height="95" alt="Click để xem chi tiết bản tin" style="border:outset;border-color:#6699FF;border-width:+2"></td>
						<td width="275" align="left" valign="top"><?php echo($rows["ten"]);?></td>
					  </tr>
					  
					</table></td>
					<?php
					}
					else
					{
					break;
					}
					
					?>
					
				  </tr>
  <?php
  }
  ?>

</table>


